package com.guiji.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.guiji.utils.ExcelUtils;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @description:
 * @author: Jodie
 * @time: 2023/2/22
 */

@Data
public class Account {

    @Excel(name = "FE ID")
    private String userID;

    public static void main(String[] args) {
        List<Account> accounts = new ArrayList<>();
        Account account = new Account();
        account.setUserID("111222333");
        accounts.add(account);
        ExcelUtils.writerListToExcel(accounts, "test", "src/main/resources/mobile100Fail.xlsx", Account.class);
    }


}
